import { Entity, PrimaryGeneratedColumn, Column } from "typeorm";

@Entity("servers")
export class Server {

    @PrimaryGeneratedColumn()
    server_id: number;

    @Column()
    name: string;

    @Column()
    address: string;

    @Column()
    state: number;

    @Column()
    open_time: string;

    @Column()
    created_at: string;

    @Column()
    updated_at: string;
}